<?php
/**
 * Conversations - A lightweight BB for Xaraya
 *
 * @package modules
 * @copyright (C) 2003-2006 The Digital Development Foundation.
 * @license GPL {@link http://www.gnu.org/licenses/gpl.html}
 * @link http://www.xaraya.com
 *
 * @subpackage conversations
 * @link http://xaraya.com/index.php/release/760.html
 * @author John Cox
*/
/**
 * Standard utility function to retrieve list of items types for this module
 * 
 * @package Xaraya eXtensible Management System
 * @copyright (C) 2005 by the Xaraya Development Team.
 * @license GPL {@link http://www.gnu.org/licenses/gpl.html}
 * @link http://www.xaraya.org
 *
 * @subpackage  xarbb Module
 * @author John Cox
*/
/** 
 * utility function to retrieve the list of item types of this module (if any)
 *
 * @returns array
 * @return array containing the item types and their description
 */
function conversations_userapi_getitemtypes($args)
{
    $itemtypes = array();
    $itemtypes['1'] = array(
        'label' => xarML('Tags'),
        'title' => xarML('Tags'),
        'url'   => xarModUrl('conversations', 'user', 'main')    
    );
    $itemtypes['2'] = array(
        'label' => xarML('Posts'),
        'title' => xarML('Posts'),
        'url'   => xarModUrl('conversations', 'user', 'main')    
    );    
    return $itemtypes;
}
?>